package ms.shop.entity;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Project Name: ms
 * File Name: Good
 * Package Name: ms.shop.entity
 * Date: 2018/5/31  16:24
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@Data
@Table(name = "t_good")
public class Good implements Serializable {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private String name;
    private String img;
    private String introduce;
    private String memo;
    private Long price;
    private Long realPrice;
    private Long classifyId;
    private Integer status;
    private Long createTime;
    private Long updateTime;
}
